package cn.wolfcode.luowowo.acticle.query;

import cn.wolfcode.luowowo.acticle.domain.DestinationTheme;
import cn.wolfcode.luowowo.common.query.QueryObject;
import lombok.Getter;
import lombok.Setter;

/**
 * 地区查询条件
 */
@Getter
@Setter
public class DestinationThemeQueryObject extends QueryObject {
    private Integer catalogValue = DestinationTheme.CATALOG_SUIT_ALLMONTH;
    private Long travelTime =-1L; //适宜旅游时间段
    private Integer travelDays = -1; //适宜旅游天数
    private Long themeId = -1L;

    private DestinationCondition travelDaysObj;

    public DestinationCondition getTravelDaysObj(){
        return DestinationCondition.CONDITION_TRAVELDAYS.get(travelDays);
    }
}
